<%--
  Created by IntelliJ IDEA.
  User: 纯牛奶丶
  Date: 2018/1/2
  Time: 14:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户登陆界面</title>
    <link rel="icon" href="img/icon.ico">
</head>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css"/>
<link rel="stylesheet" href="css/userLogin.css">

<body>
<div class="panel panel-primary">
    <div class="panel-heading">
        <div class="panel-title _title">用户登陆</div>
    </div>
    <div class="panel-body">
        <form class="form-horizontal">
            <div class="form-group">
                <label>用户名</label>
                <input type="text" class="form-control" id="loginName" onblur="checkUserName()"/>
                <span id="userName"></span>
            </div>
            <div class="form-group">
                <label>密码</label>
                <input type="password" class="form-control" name="pwd" id="pwd"/>
                <span id="password"></span>
            </div>
            <div class="from-group">
                <label>验证码</label>
                <input type="text" class="form-control fnt1" name="checkcode" id="checkCode">
                <img src="${pageContext.request.contextPath}/codeUtil" alt="验证码获取中" id="codeImg" class="pic1" onclick="reloads()">
                <a href="javascript:reloads()" class="fnt2">看不清?</a>
                <span id="input_code"></span>
            </div>
            <div class="form-group btns">
                <input type="button" class="btn btn-primary" value="登陆" id="btnSend"/>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <input type="button" class="btn btn-warning" value="注册" id="btnRegister" href="userRegister.jsp"/>
            </div>
        </form>
    </div>
</div>
<script src="js/jquery-3.2.1.js"></script>
<script src="js/userLogin.js"></script>
</body>
</html>
